Word to PDF Converter

Convert Word documents to PDF online free. No registration, no watermark, 100% secure. Trusted by 25,000+ users.

45,892+ PDFs Created
4.7/5 Rating
100% Secure

Drop your Word file here

or click to browse

Files are processed locally - 100% secure

How to Convert Word to PDF?

1

Upload Word File

Click or drag & drop your DOC or DOCX file

2

Click Convert

We'll convert your file to PDF instantly

3

Download PDF

Save your converted PDF file

100% Secure

Files are processed locally in your browser. Never uploaded to any server.

Lightning Fast

Convert documents in seconds with our optimized engine.

No Registration

No signup, no email required. Start converting immediately.

No Watermark

Clean PDF files without any watermarks or ads.

Frequently Asked Questions

How to convert Word to PDF online?

Simply upload your Word document, click the "Convert to PDF" button, and download your PDF file. It takes only seconds and is completely free.

Is this Word to PDF converter really free?

Yes, it's 100% free with no hidden charges. You can convert unlimited Word documents without any registration or watermark.

Is it safe to upload my documents?

Absolutely! All conversion happens locally in your browser. Your files are never uploaded to any server, ensuring complete privacy and security.

What Word formats are supported?

We support both .DOC and .DOCX formats. Any Microsoft Word document can be converted to PDF.

Popular PDF Tools

`; progressBar.style.width = '70%'; progressPercentage.textContent = '70%'; // Create PDF using jsPDF await createPdfWithJsPDF(styledHtml, selectedFile.name); progressBar.style.width = '90%'; progressPercentage.textContent = '90%'; // Show preview await showPdfPreview(); progressBar.style.width = '100%'; progressPercentage.textContent = '100%'; setTimeout(() => { progressSection.classList.add('hidden'); }, 500); showToast('Conversion complete!', 'success'); } catch(error) { console.error('Conversion error:', error); showToast('Error converting file. Please try again.', 'error'); progressSection.classList.add('hidden'); } } // Create PDF using jsPDF async function createPdfWithJsPDF(html, filename) { return new Promise((resolve, reject) => { try { // Create a hidden iframe for printing const iframe = document.createElement('iframe'); iframe.style.position = 'absolute'; iframe.style.width = '0'; iframe.style.height = '0'; iframe.style.border = 'none'; document.body.appendChild(iframe); const iframeDoc = iframe.contentDocument || iframe.contentWindow.document; iframeDoc.open(); iframeDoc.write(html); iframeDoc.close(); // Wait for iframe to load iframe.onload = function() { try { // Use html2pdf as fallback const element = iframeDoc.body; const opt = { margin: [0.5, 0.5, 0.5, 0.5], filename: filename.replace(/\.[^/.]+$/, '') + '.pdf', image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2, letterRendering: true, allowTaint: false, useCORS: true }, jsPDF: { unit: 'in', format: 'a4', orientation: 'portrait' } }; html2pdf().from(element).set(opt).toPdf().get('pdf').then(function(pdf) { // Convert PDF to blob const pdfBlob = pdf.output('blob'); convertedPdfBlob = pdfBlob; // Create download URL if(convertedPdfUrl) { URL.revokeObjectURL(convertedPdfUrl); } convertedPdfUrl = URL.createObjectURL(pdfBlob); // Show download button downloadBtn.classList.remove('hidden'); // Set download link downloadBtn.onclick = function() { const a = document.createElement('a'); a.href = convertedPdfUrl; a.download = filename.replace(/\.[^/.]+$/, '') + '.pdf'; a.click(); showToast('Download started!', 'success'); }; // Remove iframe document.body.removeChild(iframe); resolve(); }).catch(function(error) { console.error('PDF generation error:', error); document.body.removeChild(iframe); // Fallback: Create simple PDF createSimplePdf(filename).then(resolve).catch(reject); }); } catch(error) { console.error('Iframe processing error:', error); document.body.removeChild(iframe); // Fallback createSimplePdf(filename).then(resolve).catch(reject); } }; iframe.onerror = function() { document.body.removeChild(iframe); createSimplePdf(filename).then(resolve).catch(reject); }; } catch(error) { console.error('PDF creation error:', error); // Fallback method createSimplePdf(filename).then(resolve).catch(reject); } }); } // Fallback: Create simple PDF async function createSimplePdf(filename) { return new Promise((resolve) => { const { jsPDF } = window.jspdf; const doc = new jsPDF(); doc.text('Word to PDF Conversion', 20, 20); doc.text('File: ' + filename, 20, 30); doc.text('Converted on: ' + new Date().toLocaleString(), 20, 40); doc.text('For full content, please use our online converter.', 20, 60); const pdfBlob = doc.output('blob'); convertedPdfBlob = pdfBlob; if(convertedPdfUrl) { URL.revokeObjectURL(convertedPdfUrl); } convertedPdfUrl = URL.createObjectURL(pdfBlob); downloadBtn.classList.remove('hidden'); downloadBtn.onclick = function() { const a = document.createElement('a'); a.href = convertedPdfUrl; a.download = filename.replace(/\.[^/.]+$/, '') + '.pdf'; a.click(); showToast('Download started!', 'success'); }; resolve(); }); } // Show PDF preview async function showPdfPreview() { if(!convertedPdfUrl) { showToast('No PDF to preview', 'error'); return; } try { previewSection.classList.remove('hidden'); pdfPreview.innerHTML = '
'; // Load PDF with PDF.js const loadingTask = pdfjsLib.getDocument(convertedPdfUrl); const pdf = await loadingTask.promise; // Get first page const page = await pdf.getPage(1); // Set scale for preview const scale = 1.5; const viewport = page.getViewport({ scale: scale }); // Create canvas const canvas = document.createElement('canvas'); const context = canvas.getContext('2d'); canvas.width = viewport.width; canvas.height = viewport.height; canvas.style.width = '100%'; canvas.style.height = 'auto'; // Clear preview and add canvas pdfPreview.innerHTML = ''; pdfPreview.appendChild(canvas); // Render page const renderContext = { canvasContext: context, viewport: viewport }; await page.render(renderContext).promise; // Add download hint const hint = document.createElement('p'); hint.className = 'text-sm text-center mt-2 text-[var(--secondary-text)]'; hint.innerHTML = ' First page preview only. Click Download for full PDF.'; pdfPreview.appendChild(hint); } catch(error) { console.error('Preview error:', error); pdfPreview.innerHTML = `

Preview not available

You can still download the PDF

`; } } // Show toast notification function showToast(message, type = 'info') { const container = document.getElementById('toast-container'); const toast = document.createElement('div'); const colors = { success: 'bg-green-500', error: 'bg-red-500', info: 'bg-blue-500', warning: 'bg-yellow-500' }; const icons = { success: 'fa-check-circle', error: 'fa-exclamation-circle', info: 'fa-info-circle', warning: 'fa-exclamation-triangle' }; toast.className = `toast-message ${colors[type]} text-white px-6 py-3 rounded-lg shadow-lg flex items-center`; toast.innerHTML = ` ${message} `; container.appendChild(toast); setTimeout(() => { toast.remove(); }, 3000); } // Share functions window.shareOnWhatsApp = function() { const text = 'Convert Word to PDF free online - No registration, no watermark'; const url = window.location.href; window.open(`https://wa.me/?text=${encodeURIComponent(text + ' ' + url)}`, '_blank'); }; window.shareOnFacebook = function() { const url = window.location.href; window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(url)}`, '_blank'); }; window.shareOnTwitter = function() { const text = 'Free Word to PDF Converter - Smart CSC Tools'; const url = window.location.href; window.open(`https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}&url=${encodeURIComponent(url)}`, '_blank'); };